bin_PROGRAMS = booby-server
booby_server_CPPFLAGS = -Wl,--no-as-needed -g -ggdb -W -Wall -Werror -lSDL -I $(top_srcdir)/common/src
booby_server_LDFLAGS = -Wl,--no-as-needed -lboost_system-mt -lboost_thread-mt -ltbb -lSDL

booby_server_LDADD = ../common/libbooby.a $(AM_LDFLAGS)

EXTRA_DIST= content \
parsing_rules.r \
playerdata.db


booby_server_SOURCES = src/main.cc \
src/server.cc \
src/network-error-handler-server.cc \
src/client.cc \
src/game-thread.cc \
src/rts-thread.cc \
src/fps-thread.cc \
src/misc/database.cc \
src/misc/player-info.cc \
src/listener.cc \
src/request/request-handler-server.cc \
src/request/request-creator-server.cc \
src/request/request-server.cc \
src/misc/obj-vect.cc \
src/octree/node_rts.cc \
src/octree/octree_rts.cc \
src/octree/octree_fps.cc \
src/octree/node_fps.cc \
src/octree/octree.cc \
src/physic/object.cc \
src/physic/bounding.cc \
src/physic/box.cc \
src/physic/physic.cc \
src/physic/bounding-sphere.cc \
src/physic/fps-zone.cc \
src/octree/functor.cc \
src/config/conf_parser.cc \
src/config/rule.cc \
src/map/map.cc \
src/map/perlin.cc \
src/ai/ai_handler.cc \
src/ai/ai.cc \
src/game/gameobj.cc \
src/game/building.cc \
src/game/unit.cc \
src/game/player.cc \
src/game/game-manager.cc
